<?php
/**
 * @version:		$Id: tools.php 2 2011-07-26 00:59:53Z epatarroyo $
 * @copyright:		Copyright (C) 2010 OpenWeb Software. All rights reserved.
 * @license:		GNU/GPL
 * This version may have been modified pursuant to the GNU General Public License,
 * and as distributed it includes or is derivative of works licensed under the
 * GNU General Public License or other free or open source software licenses.
 */

// Recuperar el idioma activo 
$activeLang = $this->language;

// Check if we are in frontpage

$menu = $app->getMenu();

$isFrontpage = ($menu->getActive() == $menu->getDefault()) ? TRUE : FALSE;

$requestURI = $_SERVER['REQUEST_URI'];

include (dirname(__FILE__).DS.'templateParams.php');

if (!class_exists('Mobile_Detect')) {
    // load mobile detect class
    //require_once(dirname(__FILE__) . '/mobile.php');
    include (dirname(__FILE__).DS.'Mobile-Detect'.DS.'Mobile_Detect.php');
}

$detect = new Mobile_Detect();

include (dirname(__FILE__).DS.'browserDetect.php');
include (dirname(__FILE__).DS.'loadCSS.php');

